home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 39
/
Tiger_Disk_039_1997-06_Tiger-Crew-Disk_de_Side_B.d64
/
print 64
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
47 lines
10 poke56,64:clr
12 poke 3231,16* 5+ 0:rem fore+back(31)
20 print"[147]print 8k prg bitmap file"
21 print"home = reverse l = load"
22 print" p = print x = exit"
24 input"fn = ";n$
26 poke 3228,len(n$):rem len (28)
28 sys 3237 :rem load (37)
30 poke53265,59
40 poke53272,128
50 poke53280,0 :rem border
60 poke56576,150
90 sys 3240 :rem init (40)
100 getc$:ifc$=""goto100
120 ifc$<>""goto130
122 sys 3243:goto100:rem flip (43)
130 ifc$<>"p"goto300
140 close3:open3,4
142 print#3,chr$(8);:goto160
150 fori=1to1:print#3:next
160 forj=0to28
170 fork=0to39
180 sys 3246 :rem prnt (46)
190 a$=""
200 fori=0to7
210 a=peek( 3200+i) :rem char (0)
220 a$=a$+chr$(a)
230 nexti
240 ifk<>39thenprint#3,a$;:goto260
250 print#3,a$:goto260
252 print#3,chr$(27);chr$(10);chr$(2);
260 nextk :rem gap=0,2,3
270 nextj
280 fori=1to4:print#3:next:rem bl=4,2,1
282 print#3,chr$(15);
284 close3
290 goto100
300 ifc$="l"thengosub900:goto20
310 ifc$="x"thengosub900:end
500 goto100
900 poke53265,27
910 poke53272,21
920 poke53280,254
930 poke56576,151
940 print"[147]"
950 return